# -*- coding: utf-8 -*-
# @File      :index
# @Author    :liaogan
# @Datetime  :2023/2/27 18:33





def test(*args):
    list = ['a', 'c', 'e', 'g', 'r']
    rlist=[]
    for one in args:
        rlist.append(list.index(one))
    return rlist

print(test("e", 'a','c'))




